home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 2 / Geek_Gadgets_2_2352.bin / lists / ade-gcc.archive.9602.gz / ade-gcc.archive.9602 / 000089_owner-ade-gcc_Fri Feb 16 05:11:25 1996.msg < prev    next >
Internet Message Format  |  1996-02-28  |  3KB

  1. Return-Path: <owner-ade-gcc>
  2. Received: by fishpond (Smail3.1.29.1 #57)
  3.     id m0tnN8H-000gXca; Fri, 16 Feb 96 05:11 EST
  4. Sender: owner-ade-gcc
  5. Received: from ernie.icslab.agh.edu.pl by fishpond with smtp
  6.     (Smail3.1.29.1 #57) id m0tnN7Z-000gXbC; Fri, 16 Feb 96 05:10 EST
  7. Received: (from kiskra@localhost) by ernie.icslab.agh.edu.pl (8.6.12/8.6.12) id LAA22928; Fri, 16 Feb 1996 11:09:34 +0100
  8. Date: Fri, 16 Feb 1996 11:09:33 +0100 (MET)
  9. From: Kamil Iskra <kiskra@ernie.icslab.agh.edu.pl>
  10. To: Matthias Fleischer <fleischr@IZFM.Uni-Stuttgart.DE>
  11. cc: amiga-gcc-port@nic.funet.fi, ADE GCC List <ade-gcc@ninemoons.com>
  12. Subject: Re: Passing arguments in registers and stack checking/extension
  13. In-Reply-To: <9602160940.AA10532@sunserv.IZFM.Uni-Stuttgart.DE>
  14. Message-ID: <Pine.SUN.3.91.960216105136.22271A-100000@ernie>
  15. MIME-Version: 1.0
  16. Content-Type: TEXT/PLAIN; charset=US-ASCII
  17. Sender: owner-ade-gcc@ninemoons.com
  18. Precedence: bulk
  19.  
  20. On Fri, 16 Feb 1996, Matthias Fleischer wrote:
  21.  
  22. > No. I think a redesign of the stack checking/extension functions that
  23. > are called by gcc directly should be easy. Those functions are
  24. > only very small assembly stubs that check the current stackframe's
  25. > size and return almost immediately if it suffices. If not then the real
  26. > work is done by another layer of functions (see below). E.g. for
  27. > ixemul.library this means that only _those_ functions are shared library
  28. > functions. The bulk of strange looking pseudo assembly instructions
  29. > are statically linked for speed. So much for how it works ;-).
  30. > What do you have in mind for the new stack extension design?
  31.  
  32. Well, I don't know, I haven't thought much about it. 
  33.  
  34. I think the big problem is that this small functions like __link_a5_d0,
  35. __sub_a7_d0 or __stkchk_d0 (or whatever they're called) expect argument in
  36. d0. However, d0 is used to pass argument to user's function, so it can't
  37. be used as argument for stack checking/extension functions. So it seems
  38. that incompatible modification in GCC stack checking/extension handling
  39. code would be needed - that's why I decided to write about it. 
  40.  
  41. My knowledge of assembler is rather poor, so I'm afraid I won't be able to
  42. do this kind of modification. I think this would have to be made quite
  43. quickly - before IXEmul 43.0 with stack checking/extension support is out.
  44. Could you do it, please? 
  45.  
  46. / Kamil Iskra - AMIGA 1200, 68030 50MHz, HDD 850 MB, 10 MB RAM \
  47. | iskra@student.uci.agh.edu.pl  kiskra@ernie.icslab.agh.edu.pl |
  48. | http://student.uci.agh.edu.pl/~iskra                         |
  49. \ PGP public key available via Finger or WWW                   /